/*
 * @Author: Automator
 * @Date: 2018-05-22 18:19:08
 * @description: 
*/

 const  api = {

     /*
     * 方法描述:人物排序 ,请求方式:PUT ,参数:idList ,返回值:JsonResult ,否可用：ok
     * @param orderByIdDto  orderByIdDto  Required:[true]  Type:[]  Location:[body]
     */
    'orderByProductResumes': {url: '/cms/v2/api/com/resumes/orderBy', method: 'put'},

     /*
     * 方法描述:添加工商人物(人物职业履历)关联信息 ,请求方式:POST ,参数:ComManagerDto ,返回值:JsonResult ,否可用：ok
     * @param comManagerDto  comManagerDto  Required:[true]  Type:[]  Location:[body]
     * @param tokenUserId  tokenUserId  Required:[false]  Type:[string]  Location:[query]
     */
    'saveComManager': {url: '/cms/v2/api/com/manager', method: 'post'},

     /*
     * 方法描述:根据工商和类型获取高管信息 ,请求方式:GET ,参数:comManagerSearchDto ,返回值:JsonResult<PageResult<ComManagerVo>> ,否可用：ok
     * @param pageParam.pageIndex    Required:[false]  Type:[integer]  Location:[query]
     * @param pageParam.pageSize    Required:[false]  Type:[integer]  Location:[query]
     * @param companyId  工商 id  Required:[false]  Type:[integer]  Location:[query]
     * @param type  (业务类型)：2--机构信息,3---基金,4--LP信息  Required:[false]  Type:[integer]  Location:[query]
     */
    'comManagerPage': {url: '/cms/v2/api/com/manager', method: 'get'},

     /*
     * 方法描述:编辑工商人物(人物职业履历)关联信息包含排序,关联,解除关联,编辑4个按钮 ,请求方式: PUT ,参数:ComManagerDto ,返回值:JsonResult 否可用：ok
     * @param comManagerDto  comManagerDto  Required:[true]  Type:[]  Location:[body]
     * @param tokenUserId  tokenUserId  Required:[false]  Type:[string]  Location:[query]
     */
    'updateComManager': {url: '/cms/v2/api/com/manager', method: 'put'},

     /*
     * 方法描述:删除数据(该方法为真删除,请提示) ,请求方式: DELETE ,参数:该条记录id ,返回值:JsonResult ,否可用：ok
     * @param id  id  Required:[true]  Type:[integer]  Location:[path]
     * @param tokenUserId  tokenUserId  Required:[false]  Type:[string]  Location:[query]
     */
    'deleteComManager': {url: '/cms/v2/api/com/manager/{id}/build', method: 'delete'},

     /*
     * 方法描述:根据人物id获取职业履历 ,请求方式:GET ,参数:personId ,返回值:JsonResult<List<ComManagerVo>> ,否可用：ok
     * @param personId  personId  Required:[true]  Type:[integer]  Location:[path]
     */
    'comManagerList': {url: '/cms/v2/api/resumes/{personId}', method: 'get'},

};

 export default api;
